<?php /*a:1:{s:70:"C:\wnmp\nginx\www\project\blog\application\admin\view\index\index.html";i:1586941962;}*/ ?>

<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>后台管理</title>
    <link rel="stylesheet" href="https://cdn.staticfile.org/twitter-bootstrap/3.3.7/css/bootstrap.min.css">
    <script src="https://cdn.staticfile.org/jquery/2.1.1/jquery.min.js"></script>
    <script src="https://cdn.staticfile.org/twitter-bootstrap/3.3.7/js/bootstrap.min.js"></script>
</head>
<body>

<div class="container">
    <div class="row clearfix">
        <div class="col-md-12 column">
            <div class="page-header">
                <h1>
                    这是我的 <small>后台管理</small>
                </h1>
            </div>
            <table class="table table-hover table-bordered">
                <thead>
                <tr>
                    <th>
                        ID
                    </th>
                    <th>
                        标题
                    </th>
                    <th>
                        作者
                    </th>
                    <th>
                        发布时间
                    </th>
                    <th>
                        状态
                    </th>
                    <th>
                        编辑
                    </th>
                </tr>
                </thead>
                <?php if(is_array($data) || $data instanceof \think\Collection || $data instanceof \think\Paginator): $i = 0; $__LIST__ = $data;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?>
                <tbody>
                <tr>
                    <td>
                        <?php echo htmlentities($vo['id']); ?>
                    </td>
                    <td>
                        <?php echo htmlentities($vo['title']); ?>
                    </td>
                    <td>
                        <?php echo htmlentities($vo['about']); ?>
                    </td>
                    <td>
                        <?php echo htmlentities($vo['create_time']); ?>
                    </td>
                    <td>
                        <a href="<?php echo url('index/status', ['id'=>$vo['id'] ,'status'=>$vo['status']==1?0:1]); ?>" title="点击修改状态">
                            <?php echo status($vo['status']); ?>
                        </a>

                    </td>
                    <td>
                            <a href="<?php echo url('index/edit',['id'=>$vo['id']]); ?>" ><button type="button" class="btn btn-info">信息</button></a>
                    </td>
                </tr>
                </tbody>
                <?php endforeach; endif; else: echo "" ;endif; ?>
            </table>

        </div>
    </div>
</div>
<div class="col-md-12 column"><?php echo $data->render(); ?></div>
</body>


</html>

